package com.yousu.wxqropendoor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author cwb
 * @since 2020-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer uId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 拼音码
     */
    private String py;

    /**
     * 首字母
     */
    private String type;

    /**
     * 默认部门
     */
    private Integer communityId;

    /**
     * 角色ID
     */
    private Integer roleId;

    /**
     * 机构ID
     */
    private String orgId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 是否选择全部片区：0—否；1—是
     */
    private Integer isAllcom;


}
